package com.vue.entity.po;

import lombok.Data;

import java.util.List;

/**
 * @author: wrj
 * @since: 2025/2/12 09:24
 * @description:
 */

@Data
public class ChatRequest {
    private String model = "deepseek-chat";
    private List<Message> messages;
    private double temperature = 0.7;
    private int max_tokens = 500;

    @Data
    public static class Message {
        private String role;
        private String content;

        public Message(String role, String content) {
            this.role = role;
            this.content = content;
        }
    }
}
